package com.cskaoyan.service.goods;

import com.cskaoyan.bean.bo.goodsbo.BasePageInfoQueryListBo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.po.MarketGoods;
import com.cskaoyan.bean.vo.goodsvo.CatAndBrandVO;
import com.cskaoyan.bean.bo.goodsbo.GoodsCreateBO;
import com.cskaoyan.bean.vo.goodsvo.QueryGoodsDetailsVo;

/**
 * @Description:todo
 * @Author:todo wang xv
 * @Date:todo 2022/11/20
 */
public interface GoodsService {

    CommonData<MarketGoods> queryGoodsList(BasePageInfoQueryListBo basePageInfo);

    CatAndBrandVO queryCatAndBrandList();

    void insertGoods(GoodsCreateBO goodsCreateBO);

    void deleteGoods(MarketGoods goods);

    QueryGoodsDetailsVo queryGoodsDetailById(Integer id);

    void updateGoods(GoodsCreateBO goodsCreateBO);
}
